main = {}

bk = {name = 1}
function bk.init(go)
	--print("我是lua的日志", go.name)
	local btn = go:GetComponent("GButton")
	--btn.text = "设置了文字"
	btn:SetClickHandler(bk, bk.myClick, nil)
end

function bk:myClick()
	print("按钮点击了", self.name)
	self.name = self.name + 1
	LuaMidInterface.OutPut()
end

--main()